import getters from "./getters.js"

//定义一个数据
const state = {
	footer: true
};

const mutations = {
	showFooter(state) {
		state.footer = true;
		sessionStorage.setItem("jiang",state.footer)
	},
	hideFooter(state) {
		state.footer = false;
		sessionStorage.setItem("jiang",state.footer)
	}
};

export default{
	state,
	mutations,
	getters
}
